package com.lancer.cloud.gateway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;
import org.springframework.context.annotation.ComponentScan;

/**
 * Zuul 网关启动类
 *
 * @author caijinbang
 * @date 2019-06-16 12:01
 */
@EnableZuulProxy
@SpringBootApplication
@ComponentScan({"com.lancer.cloud.common","com.lancer.cloud.gateway"})
public class LancerGatewayApplication {

    public static void main(String[] args) {
        SpringApplication.run(LancerGatewayApplication.class, args);
    }

}
